cmake_minimum_required(VERSION 3.18)
#name
project (fbec_example)
#include compile macro
include (../head.cmake)

#include dir
include_directories(./inc)
include_directories(../proto/inc)
#link dir
#link_directories()

#add source file
aux_source_directory(./src/ SRC_LIST)

#libname
link_directories(${PROJECT_SOURCE_DIR}/../lib)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/../bin)
add_executable(${PROJECT_NAME} ${SRC_LIST})

target_link_libraries (${PROJECT_NAME}
    shared_proto
    pthread
    libproto.a
    uuid
)